package com.flida.echart.basic.system.service.impl;

import com.flida.echart.basic.api.system.entity.NodeType;
import com.flida.echart.basic.system.dao.NodeTypeDao;
import com.flida.echart.basic.system.service.INodeTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("nodeTypeService")
public class NodeTypeServiceImpl implements INodeTypeService {
    @Autowired
    private NodeTypeDao nodeTypeDao;


    public int deleteByPrimaryKey(String id) {

        return nodeTypeDao.deleteByPrimaryKey(id);
    }


    public int insert(NodeType record) {

        return nodeTypeDao.insert(record);
    }


    public int insertSelective(NodeType record) {

        return nodeTypeDao.insertSelective(record);
    }


    public NodeType selectByPrimaryKey(String id) {

        return nodeTypeDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(NodeType record) {

        return nodeTypeDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKeyWithBLOBs(NodeType record) {

        return nodeTypeDao.updateByPrimaryKeyWithBLOBs(record);
    }


    public int updateByPrimaryKey(NodeType record) {

        return nodeTypeDao.updateByPrimaryKey(record);
    }

}
